/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 */
public class Test1 {
    public static void main(String[] args) {
        Integer a = 100;
        Integer b = Integer.valueOf(100);
        System.out.println(a == b);

        Integer c = 200;
        Integer d = 200;
        System.out.println(c == d);
    }
    public static void main1(String[] args) {
        int a = 10;
        Integer integer1 = Integer.valueOf(a);//手动装箱
        Integer integer2 = a; //自动装箱

        int i = integer1.intValue();//手动拆箱
        int i2 = integer1;//自动拆箱
    }
}
